package site.fantasycube.blog.common.enums;

/**
 * @author 幻&乐
 * @Date 2021/12/28
 * 描述 账号状态枚举
 */
public enum UserStatusEnum {
    /**
     *描述：-1,"账号已被封禁"
     */
    USER_STATUS_NOASSWSS(-1,"账号已被封禁"),

    /**
     *描述：0,注册了但"未绑定邮箱"
     */
    USER_STATUS_NOEMAIL(0,"未绑定邮箱"),

    /**
     *描述：2,"账号已被冻结"
     */
    USER_STATUS_FREEZE(2,"账号已被冻结");

    private Integer code;
    private String message;

    UserStatusEnum() {
    }

    UserStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }



    public String getMessage() {
        return message;
    }


}
